package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XElement;

/**
 * Created by dell on 2017/10/1.
 */
public class ReqB104BillReceSubmitDetail extends RequestBase {
    public String reqSeqID;
    public String actNum;
    public String actArea;
    public String actBnkCode;
    public String billNo;
    //    票据币种
    public String billCur;
    public String busiNo;
    public String memo;
    public String billType;

    public String issDate;
    public String dueDate;
    public String billAmt;
    public String transFlag;
    public String payeeName;

    public String payeeAct;
    public String payeeBnkCode;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;
    //申请人组织机构代码
    public String applyCode;

    public XElement srcElement;

    public ReqB104BillReceSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        memo = srcElement.getSingleText("Memo");
        billType = srcElement.getSingleText("BillType");

        issDate = srcElement.getSingleText("IssDate");
        dueDate = srcElement.getSingleText("DueDate");
        billAmt = srcElement.getSingleText("BillAmt");
        transFlag = srcElement.getSingleText("TransFlag");
        payeeName = srcElement.getSingleText("PayeeName");

        payeeAct = srcElement.getSingleText("PayeeAct");
        payeeBnkCode = srcElement.getSingleText("PayeeBnkCode");

        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");
        actArea = srcElement.getSingleText("ActArea");
        actBnkCode = srcElement.getSingleText("ActBnkCode");
        busiNo = srcElement.getSingleText("BusiNo");
        applyCode = srcElement.getSingleText("ApplyCode");
    }

}
